package com.cy.store.service;

import com.cy.store.entity.User;

public interface IUserService {
    /***
     * 用户注册方法
     * @param user
     */
    void reg(User user);
    User login(String username,String password);

    void changepassword(Integer uid,
                        String username,
                        String oldPassword,
                        String newPassword);
}
